package gmu.drr.entity;

import java.util.Map;

/**
 * @author   RothmD01
 * @uml.dependency   supplier="gmu.drr.entity.UserGroupRelModel"
 */
public class UserGroupAssn {

	/**
	 * @uml.property  name="user"
	 * @uml.associationEnd  inverse="userGroupAssn:gmu.drr.entity.User"
	 */
	private User user;

	/**
	 * Getter of the property <tt>user</tt>
	 * @return  Returns the user.
	 * @uml.property  name="user"
	 */
	public User getUser() {
		return user;
	}

	/**
	 * Setter of the property <tt>user</tt>
	 * @param user  The user to set.
	 * @uml.property  name="user"
	 */
	public void setUser(User user) {
		this.user = user;
	}

	/**
	 * @uml.property   name="userGroup"
	 * @uml.associationEnd   inverse="userGroupAssn:gmu.drr.entity.UserGroup" qualifier="groupInd:gmu.drr.entity.UserGroupRelModel gmu.drr.entity.UserGroup"
	 */
	private Map<UserGroup, UserGroupRelModel> userGroups;

	/** 
	 * Getter of the property <tt>userGroup</tt>
	 * @return  Returns the userGroups.
	 * @uml.property  name="userGroup"
	 */
	public Map<UserGroup, UserGroupRelModel> getUserGroup() {
		return userGroups;
	}

	/** 
	 * Setter of the property <tt>userGroup</tt>
	 * @param userGroup  The userGroups to set.
	 * @uml.property  name="userGroup"
	 */
	public void setUserGroup(Map<UserGroup, UserGroupRelModel> userGroup) {
		userGroups = userGroup;
	}
}
